<body>

<div class="container">
<?php
	require_once('Class/language.Class.php');

	$translate = new language();
?>
  <form class="form-signin" role="form" action="index.php" method="post">
  	<div id ="email" class="form-group ">
	    <h2 class="form-signin-heading">Identification <br/> Quality Monitoring</h2>
	    <?php if (isset($_GET['error_id']) && $_GET['error_id'] == TRUE) { ?>
	    	<div class="form-group has-error has-feedback">
	    		<label class="control-label" for="email"><?php echo $translate->translate('SingInError'); ?></label>
	    		<input name="email" type="email" class="form-control has-error" placeholder="<?php echo $translate->translate('SignInPageEmail'); ?>" required>
	    		<span class="glyphicon glyphicon-remove form-control-feedback"></span>
	    	</div>
	    <?php } else { ?>
	    	<input name="email" type="email" class="form-control has-error" placeholder="<?php echo $translate->translate('SignInPageEmail'); ?>" required>
	    <?php } ?>
	    <?php if (isset($_GET['error_id']) && $_GET['error_id'] == TRUE) { ?>
	    	<div class="form-group has-error has-feedback">
	    		<input id="password" name="password" type="password" class="form-control" placeholder="<?php echo $translate->translate('SignInPagePassword'); ?>" required>
	    	</div>
	    <?php } else { ?>
	    	<input name="password" type="password" class="form-control" placeholder="<?php echo $translate->translate('SignInPagePassword'); ?>" required>
    	<?php } ?>
	    <button class="btn btn-lg btn-primary btn-block" type="submit"><?php echo $translate->translate('SignInPageSubmit'); ?></button>
	</div>
  </form>

</div> <!-- /container -->


